﻿using System.Windows.Navigation;

namespace Kiva7.Utilities
{
    public static class NavigationContextExtender
    {
        public static string GetQueryString(this NavigationContext context, string key)
        {
            if (context.QueryString.ContainsKey(key))
            {
                return context.QueryString[key];
            }
            return null;
        }
    }
}
